package com.ruoyi.mdkt.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author gwl
 * @since 2022-10-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class PetLog extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 宠物ID
     */
    private Long petId;

    /**
     * 商品ID
     */
    private Long goodsId;

    /**
     * 旧等级
     */
    private Integer olderGrade;

    /**
     * 新等级
     */
    private Integer newGrade;

    /**
     * 旧经验
     */
    private Integer olderExperience;

    /**
     * 新经验
     */
    private Integer newExperience;

    /**
     * 使用数量
     */
    private Integer number;

    private LocalDateTime createTime;


}
